package com.example.demo2_review.design_pattern.creational_patterns.factory_pattern;

import org.springframework.stereotype.Service;

/**
 * @Author zwp14
 * @create 2024/6/24 14:35
 * @description 画圆，实现模板类
 */
@Service
public class Circle implements ShapeService {
    /**
     * 实现绘画接口
     * @return 绘画出一个圆
     */
    @Override
    public String draw() {
        System.out.println("Inside Circle::draw() method.");
        return "Inside Circle::draw() method.";
    }
}
